package com.ifonly.security;

/**
 * @author <a href="mailto:ifonlymaster@163.com">ifonly</a>
 * @version 1.0 2015-12-29 20:17
 * @since JDK 1.6
 */
public final class SecurityEntry<ID, E> {

    private ID id;
    private String name;
    private String account;
    private E info;


    public SecurityEntry(ID id, String name, String account) {
        this.id = id;
        this.name = name;
        this.account = account;
    }

    public ID getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getAccount() {
        return account;
    }

    public void setInfo(E info) {
        this.info = info;
    }

    public E getInfo() {
        return info;
    }
}
